package com.yy.service.ForegroundService;

import com.yy.domain.Order;

import java.util.*;


public interface IOrderService {
    Map<String, Object> insertOrderByOrder(Order order);

    Order selectOrderById(String oid);

    int updateOrderByOid(Order order);

    int deleteOrderByOid(Order order);

    List<Order> selectOrderByUserId(int userid);

    List<Order> selectOrderByList(Order order);

    List<Map<String, Object>> selectOrderProductByUserId(int userid);

    int updateOrderById(Map<String, Object> map);
}